package com.petc.api.service.base;

import com.baomidou.mybatisplus.extension.service.IService;
import com.petc.api.entity.DeviceBind;

public interface DeviceBindService extends IService<DeviceBind>  {

    /**
     * 根据用户id查询绑定设备信息
     * @param userId
     * @return
     */
    DeviceBind queryByUserId(Integer userId);

    /**
     * 更新操作
     * @param deviceBind
     */
    void update(DeviceBind deviceBind);

    /**
     * 添加操作
     * @param deviceBind
     */
    void insert(DeviceBind deviceBind);
}
